package org.paniit.welcometoportland;


import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;


public class WelcomeToPortland extends CustomWindow {
	public Intent intent;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.message);
        getWindow().setBackgroundDrawableResource(R.drawable.portland);
        intent = new Intent();
		intent.setClass(WelcomeToPortland.this, Ethnicity.class);
		//startActivity(intent);
        Handler handler = new Handler();
        handler.postDelayed(new Runnable() {public void run() {startActivity(intent);}}, 2000); 
      
    }
    
}